package entity;

import java.awt.*;

/**
 * 生命道具
 */
public class LifeProp extends Prop {
    public LifeProp(int x, int y, Image image) {
        this.x = x;
        this.y = y;
        this.image = image;
        this.width = image.getWidth(null);
        this.height = image.getHeight(null);
    }
}